package com.metka.volidata.annotation;

/**
 * @Author: Metka499
 * @Description:
 * @CreateTime: 2020/7/6 14:34
 */
public @interface Valid {

    boolean required() default false;

    double min() default Double.MIN_VALUE;
    double max() default Double.MAX_VALUE;

    long length() default -1;
    long maxLen() default -1;
    long minLen() default -1;

    String regex() default "";
    String name();

}
